﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.PizzaDecoratorDemo
{
    public class TwoOffTuesday : FlatDiscount
    {
        public TwoOffTuesday(IPizza pizza)
            : base(pizza)
        { }

        protected override double SetBaseValue()
        {
            return 2d;  // flat $2 off
        }

        protected override string SetName()
        {
            return "Two Off Tuesday";
        }
    }
}
